/**
 * 分片服务
 * 
 */
var sliceGroupServiceApp = angular.module("sliceGroupServiceApp", [ "commonApp" ]);

sliceGroupServiceApp.service("sliceGroupService", [
		"commonService",
		function(commonService) {
			/**
			 * 新增分片组
			 */
			this.add = function(params, sback, eback) {
				commonService.call("tsp/sliceGroup/add", params, sback, eback);
			}
			
			/**
			 * 查询分片组
			 */
			this.update = function(params, sback, eback) {
				commonService.call("tsp/sliceGroup/update", params, sback, eback);
			}
			
			/**
			 * 删除分片组
			 */
			this.removeList = function(params, sback, eback) {
				commonService.call("tsp/sliceGroup/deleteList", params, sback, eback);
			}
			
			/**
			 * 更新分片组
			 */
			this.query = function(params, sback, eback) {
				commonService.call("tsp/sliceGroup/query", params, sback, eback);
			}
			
			/**
			 * 新增分片
			 */
			this.queryPage = function(params, sback, eback) {
				commonService.call("tsp/sliceGroup/queryPage", params, sback, eback);
			}
			
		}
]);